previousSibling

abstract fun previousSibling(): Optional<Node>

Returns an Optional that contains the previous node in the document tree if such a node exists, otherwise returns an empty Optional.

Throws

when this node is closed